

export interface AppointApplySchema {
    id?: number;
    coach_id: number;
    date: string;
    period: number;
    subject: string;
}

export interface AppointApplyResultSchema {
    id: number;
    is_apply: boolean;
    coach_id: number;
    date: string;
    period: number;
    subject: string;
}

export interface AppointApplyStudentSchema {
    user_id: number;
    username: string;
    avatar: string;
    durtime: number;
    period: number;
    subject: string;
    status: number;
    assigned: boolean;
}


export interface TodayAppointApplyResultSchema {
    user_id: number;
    username: string;
    avatar: string;
    period: number;
    subject: string;
    start_time: string;
    durtime: number;
    status: number;
}


export interface AppointTimeDataItem {
    status: number; // 0 未预约 1 已预约  2 外勤 3 未开放  4 休息
    duration: number;
    startTime: any;
    studentId?:number;
    subject: string;
    display: string;
    studentIds?:number[];
    isMorningSlot: boolean;
    isEveningSlot: boolean;
    isWorkingSlot: boolean;
}


export interface WorkTimeItem {
    end_time: string;
    start_time: string;
}


export interface CoachTodayAppointApplyItem {
    results: Array<Array<AppointTimeDataItem>>;
    students: AppointApplyStudentSchema[];
}
